#ifndef VISUALOBJECTPROPERYPAGE_H
#define VISUALOBJECTPROPERYPAGE_H

#include <QWidget>
#include "appGlobals.h"
#include "ui_visualobjectproperypage.h"
class AbstractGameObject;

class VisualObjectProperyPage : public QWidget
{
	Q_OBJECT

public:
	VisualObjectProperyPage(QWidget *parent = 0);

	void setVisualObject(QPointer<AbstractGameObject> visualObject);
private:
	QPointer<AbstractGameObject> m_visualObject;
	Ui::VisualObjectProperyPage ui;
private slots:
	void updateGui();
	void onBrowseImage();
	void parameterChanged();
	void blockWidgetSignals(bool block);
	void imagePathTextChanged();
};

#endif // VISUALOBJECTPROPERYPAGE_H
